import instance from "@/axios";

export const getWikiList = () => {
    return instance({
        url: '/wiki/list', 
        method: 'POST',
    })
}

export const getWikiArticlePreNext = (data) => {
    return instance({
        url: '/wiki/article/preNext', 
        method: 'POST',
        data
    })
}
export const getWikiCatalogs = (id) => {
    return instance({
        url: '/wiki/catalog/list',
        method: 'POST',
        data: {id}
    })
}